package com.inno.life.domain.convert;

import com.inno.life.domain.entity.MessagesBO;
import com.inno.life.infra.basic.entity.PlannerMessages;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MessagesConverter {
    MessagesConverter INSTANCE = Mappers.getMapper(MessagesConverter.class);


    PlannerMessages convertBOToEntity(MessagesBO messagesBO);

    List<MessagesBO> convertEntityListToBoList(List<PlannerMessages> messagesList);
}
